<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage.master" AutoEventWireup="true" CodeFile="ViewEntry.aspx.cs" Inherits="ViewEntry" Title="Administrator - View Blog Entry" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div align="left" style="font-size:large width: 900px">
    <asp:Label ID="Label1" runat="server" Font-Size="X-Large" Text="Label" Font-Bold="True"></asp:Label><br />
    <asp:Label ID="Label2" runat="server" Font-Size="Small" Text="Label"></asp:Label><br />
    <br />    
    <table style="overflow: visible; width: 100%;">
        <tr style="width: 900px">
            <td valign="top" style="vertical-align: top; text-align: left; border-right-width: thin; border-right-color: #000000;" colspan="2">
                &nbsp;<asp:Literal ID="Literal1" runat="server" Mode="PassThrough"></asp:Literal><br />
                <br />
                <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Update this Blog" /><br />
    <table style="width: 660px">
        <tr>
            <td colspan="3">
                <strong>Add a Comment</strong></td>
        </tr>
        <tr>
            <td style="width: 137px">
                Name:</td>
            <td colspan="2">
                <asp:TextBox ID="TextBox1" runat="server" Width="364px" MaxLength="25"></asp:TextBox></td>
        </tr>
        <tr>
            <td style="width: 137px; height: 133px" valign="top">
                Your Comment:</td>
            <td colspan="2" style="height: 133px">
                <asp:TextBox ID="TextBox2" runat="server" Height="115px" TextMode="MultiLine" Width="442px" MaxLength="500"></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="3" style="height: 37px" valign="top">
                &nbsp;&nbsp;
                <br />
                &nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Submit Comment Now" /></td>
        </tr>
    </table>
                <br />
                <strong>View
    Comments</strong> (<asp:Label ID="Label3" runat="server" Text="Label"></asp:Label>)<br />
    <br />
    <asp:Repeater ID="Repeater1" runat="server">
    
    <ItemTemplate>
        <asp:Label ID="Label4" runat="server"><%#DataBinder.Eval(Container, "DataItem.Comment")%></asp:Label><br />
        <asp:Label ID="Label5" runat="server">Posted by: <%#DataBinder.Eval(Container, "DataItem.Name")%> on <%#DataBinder.Eval(Container, "DataItem.Date")%></asp:Label>
    </ItemTemplate>
        
    <SeparatorTemplate>
    <br />
    <br />
    </SeparatorTemplate>
    
    </asp:Repeater>
<br />
                &nbsp;<br />
                <br />
                <br />
                &nbsp;</td>            
        </tr>
    </table>
    <br />
    <br />
    <br />
</div>
</asp:Content>

